package com.atguigu.webflux.schema;

import jakarta.validation.constraints.NotEmpty;
import java.util.List;
import java.util.Optional;

import com.fasterxml.jackson.annotation.JsonProperty;

import jakarta.validation.constraints.NotBlank;

public class FlightStep2Form {
  @JsonProperty("reserveFlights.x")
  private int reserveFlightsX;

  @JsonProperty("reserveFlights.y")
  private int reserveFlightsY;

  private String seatPref;
  private String seatType;
  private int advanceDiscount;
  private int numPassengers;
  private String outboundFlight;
  private Long userId;

  public Long getUserId() {
    return userId;
  }

  public void setUserId(Long userId) {
    this.userId = userId;
  }

  public int getReserveFlightsX() {
    return reserveFlightsX;
  }

  public void setReserveFlightsX(int reserveFlightsX) {
    this.reserveFlightsX = reserveFlightsX;
  }

  public int getReserveFlightsY() {
    return reserveFlightsY;
  }

  public void setReserveFlightsY(int reserveFlightsY) {
    this.reserveFlightsY = reserveFlightsY;
  }

  public String getOutboundFlight() {
    return outboundFlight;
  }

  public void setOutboundFlight(String outboundFlight) {
    this.outboundFlight = outboundFlight;
  }

  public String getSeatPref() {
    return seatPref;
  }

  public void setSeatPref(String seatPref) {
    this.seatPref = seatPref;
  }

  public String getSeatType() {
    return seatType;
  }

  public void setSeatType(String seatType) {
    this.seatType = seatType;
  }

  public int getAdvanceDiscount() {
    return advanceDiscount;
  }

  public void setAdvanceDiscount(int advanceDiscount) {
    this.advanceDiscount = advanceDiscount;
  }

  public int getNumPassengers() {
    return numPassengers;
  }

  public void setNumPassengers(int numPassengers) {
    this.numPassengers = numPassengers;
  }
}
